Vue.component("aui-markdown", {
    template: `<div class="aui-markdown" v-html="text"></div>
    `,
    props: {
        value: {
            required: true
        }
    },
    computed: {
        text() {
            var self = this;
            return marked(self.value);
        }
    }
});